/**
 * Created by chesw on 2017/5/18.
 */
(function () {
    new Vue({
        el: '#medicine-wiki',
        components: {
            'clinic-head': clinicHead,
            'clinic-right': clinicRight,
            'clinic-foot': clinicFoot,
            'clinic-page': clinicPage,
            'graphic-frame': graphicFrame,
            'search': search,
            'say-sick': saySick,
            'guide-consensus': guideConsensus,
            'graphic-list-frame': graphicListFrame
        },
        data: {
            graphicInfo: {
                tab: Personal.PATIENTAPPOINT,
                type: false, //标题显示
                showShare: false, //是否显示分享按钮
                style: {width: '1190px'}, //组件宽度
                list: []
            },
            tab_id: 1, //1:专家说病; 2:疾病大全; 3:病案分享; 4:指南共识
        },
        mounted: function () {
            showHtml();
        },
        methods: {
            changeTab: function (p_type) {
                this.tab_id = p_type;
            }
        }
    })
})();
